class Task
	{
	/*public static void main(String[] args)
		{
		int n=Add.sumIntArray(10,20,30,40,50);
		ShowElement.displayIntNum(n);
		
		double d=Add.sumDoubleArray(10.9,14.32,1.987,15.3852);
		ShowElement.displayDoubleNum(d);
		
		double m=Add.sumMixedArray(10,9.436,50.32, 8, 32.99);
		ShowElement.displayDoubleNum(m);
		}
	public static void main(String[] args)
		{
		int[][] m1={{1,2,3},
					{4,5,6},
					{7,8,9}};
		int[][] m2={{9,8,7},
					{6,5,4},
					{3,2,1}};
		System.out.println("The sum of the matrices m1 : ");
		ShowElement.displayMatrix(m1);
		System.out.println("and m2 :");
		ShowElement.displayMatrix(m2);
		System.out.println(" is ");
		int[][] sum=Add.sumMatrix(m1,m2);
		ShowElement.displayMatrix(sum);
		}
	public static void main(String[] args)
		{
		int[][] a = {{5,4,3},
					  {9,8,7}};
		int sum=Add.sumMatrixElements(a);
		ShowElement.displayIntNum(sum);
		}
	public static void main(String[] args)
		{
		int[][] a={{3,2,1},
				   {5,1,1},
				   {1,1,1}};
		int[][] b={{1,6,1},
				    {4,0,1},
					{1,1,1}};
		System.out.println("The product of two matrices a : ");
		ShowElement.displayMatrix(a);
		System.out.println("and b :");
		ShowElement.displayMatrix(b);
		System.out.println(" is :");
		Multiply.multiplyMatrix(a,b);
		}*/
	/*public static void main(String[] args)
		{
		Employees e1=new Employees();
		Employees e2=new Employees();
		Employees e3=new Employees();
		Employees e4=new Employees();
		Employees e5=new Employees();
		e1.updateEmployeeDetails(1201,"Harish Kumar","Bangalore",'M',15672.90);
		e2.updateEmployeeDetails(1001,"Kate Mathews ","Bangalore",'F',13392.70);
		e3.updateEmployeeDetails(1533,"Tom Smith","Bangalore",'M',17702.90);
		e4.updateEmployeeDetails(2210,"Meena Kumari","Bangalore",'F',21899.10);
		e5.updateEmployeeDetails(2013,"Jatin Kumar","Bangalore",'M',18770.50);
		e1.displayEmployeeDetails();
		e2.displayEmployeeDetails();
		e3.displayEmployeeDetails();
		e4.displayEmployeeDetails();
		e5.displayEmployeeDetails();
		e1.giveHike(10);
		e2.giveHike(13);
		e3.giveHike(7);
		e4.giveHike(5);
		e5.giveHike(18);
		}*/
	/*public static void main(String[] args)
		{
		int[] array={12,19,25,44,129,156};
		int element=129;
		int pos=Search.binarySearch(array,element);
		if(pos==-1)
			{
			System.out.println("Element not found. ");
			}
		else
			{
			System.out.println("Element found at position no. : ");
			ShowElement.displayIntNum(pos+1);		
			}
		}*/
	public static void main(String[] args)
		{
		int[] array={12,33,14,55,34,67};
		int element=4;
		int pos=Search.linearSearch(array,element);
		if(pos==array.length)
			System.out.println("Element not found");
		else
			ShowElement.displayIntNum(pos+1);
		}
	}
	